<template>
    <view style="width: 100vw; height: 100vh; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center">
        <view>
            <image src="https://statics.xmcsrv.net/weixin/custom/ThomeLogo.png" lazy-load mode="aspectFit" style="width: 30vw"></image>
            <view>
                <text style="background: #eeeeee; padding: 6rpx 20rpx; border-radius: 6rpx">{{ version }}</text>
            </view>
        </view>
    </view>
</template>

<script>
export default {
    data() {
        return {
            version: ''
        };
    }
    /**
     * 生命周期函数--监听页面加载
     */,
    onLoad: function (options) {
        console.log('=== mine:about-version:onLoad:');
        this.version = options.version
    },
    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function () {
        console.log('=== mine:about-version:onReady:');
    },
    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function () {
        uni.setNavigationBarTitle({
            title: this.$t('navBarTitle.currentVersion')
        })
        console.log('=== mine:about-version:onShow:');
    },
    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function () {
        console.log('--- mine:about-version:onHide:');
    },
    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function () {
        console.log('--- mine:about-version:onUnload:');
    },
    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function () {},
    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function () {},
    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {},
    methods: {}
};
</script>
<style>
page {
    background: #ffffff;
}
</style>
